<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>客户移交明细</title>
    <%@ include file="/WEB-INF/views/common/common.jsp" %>
    <script type="text/javascript" src="/static/js/system/movement.js"></script>
</head>
<body>
<%--列表--%>
<table id="movement_datagrid"></table>
<%--列表顶部工具栏--%>
<div id="movement_toolbar">
    <%--<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" onclick="add()">添加</a>--%>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" onclick="edit()">编辑</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" onclick="reload()">刷新</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-lock',plain:true" onclick="changeState()">修改</a>

</div>
<%--保存/编辑 对话框--%>
<div id="movement_dialog">
    <form method="post" id="movement_form">
    <input type="hidden" name="id"  id="attnsid">
    <table align="center" style="margin-top:15px" cellpadding="5" >
        <tr>
            <td>姓名</td>
            <td><input class="easyui-textbox" name="name"></td>
        </tr>
        <tr>
            <td>电话</td>
            <td><input class="easyui-textbox" name="tel"></td>
        </tr>
        <tr>
            <td>QQ</td>
            <td><input class="easyui-textbox" name="qq"></td>
        </tr>
        <tr>
            <td>邮箱</td>
            <td><input class="easyui-textbox" name="email"></td>
        </tr>

        <tr>
        </tr>
             <td>是否主动联系:</td>
                <td><input  class="easyui-combobox" name="state" type="text"
                    data-options="data:[{'label': '是','value':'1'},{'label': '否','value': '0'}],valueField:'value', textField:'label',
                              panelHeight:'auto' ,limitToList:true,groupPosition :'sticky'"/>
             </td>
        </tr>
            <tr>
            <td>学校</td>
            <td><input class="easyui-combobox" name="school.id" data-options="
                                                  url:'/dataDict/selsectForSchool?parentId=31',
                                                  valueField: 'id',
                                                  textField: 'name',
                                                  panelHeight: 'auto'"
            ></td>
            </tr>
        <tr>
            <td>性别</td>
            <td><input class="easyui-combobox" name="gender.id" data-options="
                                                  url:'/dataDict/selsectForSchool?parentId=6',
                                                  valueField: 'id',
                                                  textField: 'name',
                                                  panelHeight: 'auto'"
            ></td>
        </tr>
        <tr>
            <td>职务</td>
            <td><input class="easyui-combobox" name="position.id" data-options="
                                                  url:'/dataDict/selsectForSchool?parentId=22',
                                                  valueField: 'id',
                                                  textField: 'name',
                                                  panelHeight: 'auto'"
            ></td>
        </tr>
        <tr>
            <td>部门</td>
            <td><input class="easyui-combobox" name="dept.id" data-options="
                                                  url:'/department/seleceAllDept',
                                                  valueField: 'id',
                                                  textField: 'name',
                                                  panelHeight: 'auto'"
            ></td>
        </tr>
        <tr>
            <td>备注</td>
            <td colspan="10">
                <input class="easyui-textbox" name="text"  style="width:400px;height: 80px">
            </td>
        </tr>
    </table>
    </form>
</div>

<%--保存/编辑 对话框 底部工具栏 --%>
<div id="dialog_buttons">
    <a href="#"  id="save_linkbutton" class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true" onclick="save()">保存</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" onclick="cancel()">关闭</a>
</div>
</body>
</html>